Viewport.locationToWidgetCoords

Gets the position on @widget that correspond to the given latitude and longitude.

class Viewport
void
locationToWidgetCoords
(,
double latitude
,
double longitude
,
out double x
,
out double y
)

Parameters

widget Widget

a #GtkWidget that uses @self as viewport

latitude double

the latitude

longitude double

the longitude

x double

return value for the x coordinate

y double

return value for the y coordinate

Meta